package com.yunding.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author Sun
 * @date 2020-09-27 09:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "today_study")
public class TodayStudy {
    /**
     * 学生id (学号)
     */
    @TableId(value = "student_id", type = IdType.INPUT)
    private String studentId;

    /**
     * 学生姓名
     */
    @TableField(value = "student_name")
    private String studentName;

    /**
     * 第一节课来不来
     */
    @TableField(value = "first_class")
    private String firstClass;

    /**
     * 第二节课来不来
     */
    @TableField(value = "second_class")
    private String secondClass;

    /**
     * 第三节课来不来
     */
    @TableField(value = "third_class")
    private String thirdClass;

    /**
     * 第四节课来不来
     */
    @TableField(value = "forth_class")
    private String forthClass;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
}
